Scythe-1.0.3
|
template<typename T_type = double, matrix_order ORDER = Col, matrix_style STYLE = Concrete>
Parameterized type constructor. Creates a 1x1 matrix (scalar).
Example: #include <scythestat/matrix.h> using namespace scythe; int main () { // create a scalar equal to 4.5 Matrix<> A(4.5); // Create an integer scalar matrix Matrix<int> B(10); // Create a matrix of strings, containing only one string Matrix<const char*> C("some words"); return 0; } |