MyraMath
Classes
reshape.h File Reference

Reshapes an Expression (for instance, reinterpret an arity-1 Expression of size 25 into an arity-2 Expression of size 5 by 5). More...

#include <myramath/MYRAMATH_EXPORT.h>
#include <myramath/utility/Number.h>
Include dependency graph for reshape.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  myra::Expression< Arity, Number >
 Given an index (i,j,etc), returns a value. More...
 

Functions

Expression< 2, NumberS > myra::reshape (const Expression< 1, NumberS > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberS > myra::reshape (const Expression< 2, NumberS > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberD > myra::reshape (const Expression< 1, NumberD > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberD > myra::reshape (const Expression< 2, NumberD > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberC > myra::reshape (const Expression< 1, NumberC > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberC > myra::reshape (const Expression< 2, NumberC > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberZ > myra::reshape (const Expression< 1, NumberZ > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 2, NumberZ > myra::reshape (const Expression< 2, NumberZ > &A, int I, int J)
 Reshapes A to size IxJ (arity-2 version)
 
Expression< 1, NumberS > myra::reshape (const Expression< 1, NumberS > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberS > myra::reshape (const Expression< 2, NumberS > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberD > myra::reshape (const Expression< 1, NumberD > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberD > myra::reshape (const Expression< 2, NumberD > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberC > myra::reshape (const Expression< 1, NumberC > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberC > myra::reshape (const Expression< 2, NumberC > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberZ > myra::reshape (const Expression< 1, NumberZ > &A, int I)
 Reshapes A to size I (arity-1 version)
 
Expression< 1, NumberZ > myra::reshape (const Expression< 2, NumberZ > &A, int I)
 Reshapes A to size I (arity-1 version)
 

Detailed Description

Reshapes an Expression (for instance, reinterpret an arity-1 Expression of size 25 into an arity-2 Expression of size 5 by 5).