HILA
|
User guide for custom HILA Complex class
Acts as array class which stores data in a simple C style array. For detailed description and motivation see Array.
NOTE: n,m are integers and MyType is a HILA standard type or Complex.
The multiple ways of constructing an Array object can be viewed on the Object documentation page
A simple example of construction is:
NOTE: Array1d is alias case of Array
The implicit definition of assignment exist as
Assignment from Array:
Initializer list:
Assignment from c++ initializer list.
Additionally there is a scalar assignment definition
Example for Array2d:
Example for Array1d:
The arithmetic methods and arithmetic assignment methods hold allot of overloads depending on specific objects they are called for. All cases are documented and should be listed in order on the class page. These can be seen by following the links below.
The following standard arithmetic methods are defined in the usual way for Complex numbers.
Array::conj
Array::squarenorm
Array::acos
Array::acosh
Array::asin
Array::asinh
Array::atan
Array::atanh
Array::cbrt
Array::cos
Array::cosh
Array::exp
Array::log
Array::pow
Array::sin
Array::sinh
Array::sqrt
Array::tan
Array::tanh
There are two random number generators available for the Array type.