Class: GSL::TensorComplex
Instance Attribute Summary collapse
-
#narray ⇒ Object
readonly
Returns the value of attribute narray.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Tensor
#[], #[]=, #initialize, #inspect, #iterate, #iterate_row_maj, method_missing, #method_missing, #reshape!, #shape, #to_a, #transpose
Constructor Details
This class inherits a constructor from GSL::Tensor
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GSL::Tensor
Instance Attribute Details
#narray ⇒ Object (readonly)
Returns the value of attribute narray.
117 118 119 |
# File 'lib/gs2crmod/gsl_data_3d.rb', line 117 def narray @narray end |
Class Method Details
.alloc(*args) ⇒ Object
118 119 120 |
# File 'lib/gs2crmod/gsl_data_3d.rb', line 118 def self.alloc(*args) new(NArray.complex(*args.reverse)) end |