name: MScalar

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_math_scalar.a

#include <MScalar.h>

MScalar& operator+= (TIntegral arg);
boolean assign(byte arg);
TIntegral band(TIntegral arg);
TIntegral exp();
TIntegral asin();
TIntegral limit(TIntegral min, TIntegral max);
quick start:

MScalar<double, float64> val0;
MScalar<double, float64> val1;
MScalar<double, float64> min_val;

val0.assign((double)10);
(long)val0.exp2();
val1.exp10(2);

min_val.min(val0, val1);
description:

The MScalar class is the base class of all scalar classes. It includes commonly-used mathematical, logical and DSP methods, and i/o and operator overload methods. All other scalar classes are derived from it. The MScalar methods should not be used directly by users. They are designed for the other scalar classes and the MVector and MMatrix templates to use.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods: examples:

notes: