Sponsored Content
Full Discussion: bc scale problem
Top Forums Shell Programming and Scripting bc scale problem Post 302556114 by shamrock on Friday 16th of September 2011 03:48:20 PM
Old 09-16-2011
Quote:
Originally Posted by Corona688
Why does that work for multiplication but not division?
Because divison works exclusively off the internal scale which is initialized to zero by default...but for multiplication both the internal scale and the scale of the factors comes into play...so the scale of x*y is the larger of either the internal scale or the scale of the factors...x or y.
 

3 More Discussions You Might Find Interesting

1. Solaris

unable to allocate enough cells for gray scale

Hi, I tried to install a software (written in C) and run it on a sun machine. It is displaying the error: unable to allocate enough cells for gray scale. I closed all other apllications and set background to black to minimize usage of cells. But it is diaplaying the same error. Plz help... (1 Reply)
Discussion started by: raz
1 Replies

2. UNIX for Dummies Questions & Answers

Any company running large scale grid platform still

Hi buddy, I would like to know are there any company still running large scale grid platform like Parabon? Parabon is the only company running such kind of platform and purchasing CPU power. Is that right? Thanks, Colapig (0 Replies)
Discussion started by: colapig
0 Replies

3. Programming

Isosurface and a 2D figure with the same scale and origin using mayavi

I am using mayavi to plot an iso surface from a 3D array s using the following piece of code: src = mlab.pipeline.scalar_field(s) fig=mlab.pipeline.iso_surface(src, color=(1.0,0.0,0.0), contours=, opacity=0.3) mlab.pipeline.iso_surface(src, color=(0.0,1.0,1.0),contours=, opacity=0.3) Then... (0 Replies)
Discussion started by: jaldo0805
0 Replies
QwtScaleTransformation(3)					 Qwt User's Guide					 QwtScaleTransformation(3)

NAME
QwtScaleTransformation - Operations for linear or logarithmic (base 10) transformations. SYNOPSIS
#include <qwt_scale_map.h> Public Types enum Type { Linear, Log10, Other } Public Member Functions virtual QwtScaleTransformation * copy () const virtual double invXForm (double x, double p1, double p2, double s1, double s2) const QwtScaleTransformation (Type type) Type type () const virtual double xForm (double x, double s1, double s2, double p1, double p2) const virtual ~QwtScaleTransformation () Detailed Description Operations for linear or logarithmic (base 10) transformations. Constructor &; Destructor Documentation QwtScaleTransformation::QwtScaleTransformation (Typetype) Constructor for a linear transformation. QwtScaleTransformation::~QwtScaleTransformation () [virtual] Destructor. Member Function Documentation QwtScaleTransformation * QwtScaleTransformation::copy () const [virtual] Create a clone of the transformation. double QwtScaleTransformation::invXForm (doublep, doublep1, doublep2, doubles1, doubles2) const [virtual] Transform a value from the coordinate system of the paint device into the coordinate system of a scale. Parameters: p Value related to the coordinate system of the paint device p1 First border of the coordinate system of the paint device p2 Second border of the coordinate system of the paint device s1 First border of the coordinate system of the scale s2 Second border of the coordinate system of the scale Returns: linear mapping: s1 + ( s2 - s1 ) / ( p2 - p1 ) * ( p - p1 ); log10 mapping: exp((p - p1) / (p2 - p1) * log(s2 / s1)) * s1; QwtScaleTransformation::Type QwtScaleTransformation::type () const [inline] Returns: Transformation type double QwtScaleTransformation::xForm (doubles, doubles1, doubles2, doublep1, doublep2) const [virtual] Transform a value from the coordinate system of a scale into the coordinate system of the paint device. Parameters: s Value related to the coordinate system of the scale s1 First border of the coordinate system of the scale s2 Second border of the coordinate system of the scale p1 First border of the coordinate system of the paint device p2 Second border of the coordinate system of the paint device Returns: linear mapping: p1 + (p2 - p1) / (s2 - s1) * (s - s1); log10 mapping: p1 + (p2 - p1) / log(s2 / s1) * log(s / s1); Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtScaleTransformation(3)
All times are GMT -4. The time now is 11:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy