write
Method of NumpyFile.
Overloads
| Name | Description |
|---|---|
write(const ComplexSparseMatrix values) -> NumpyFile | Writes a sparse matrix densely to a .npy file and returns the file for chaining. |
write(const integer value) -> NumpyFile | Writes a value to a .npy file and returns the file for chaining. |
write(const real value) -> NumpyFile | Writes a value to a .npy file and returns the file for chaining. |
write(const bool value) -> NumpyFile | Writes a value to a .npy file and returns the file for chaining. |
write(const RealTensor values) -> NumpyFile | Writes a tensor to a .npy file and returns the file for chaining. |
write(const BoolArray values) -> NumpyFile | Writes an array to a .npy file and returns the file for chaining. |
write(const complex value) -> NumpyFile | Writes a value to a .npy file and returns the file for chaining. |
write(const ComplexTensor values) -> NumpyFile | Writes a tensor to a .npy file and returns the file for chaining. |
write(const ComplexMatrix values) -> NumpyFile | Writes a matrix to a .npy file and returns the file for chaining. |
write(const IntegerArray values) -> NumpyFile | Writes an array to a .npy file and returns the file for chaining. |
write(const RealArray values) -> NumpyFile | Writes an array to a .npy file and returns the file for chaining. |
write(const ComplexArray values) -> NumpyFile | Writes an array to a .npy file and returns the file for chaining. |
write(const RealSparseMatrix values) -> NumpyFile | Writes a sparse matrix densely to a .npy file and returns the file for chaining. |
write(const List values, as_string type) -> NumpyFile | Writes a string list to a .npy file. |
write(const string name, const List values, as_complex type) -> NumpyFile | Writes a named complex list to a .npz archive. |
write(const string value) -> NumpyFile | Writes a value to a .npy file and returns the file for chaining. |
write(const List values, as_complex type) -> NumpyFile | Writes a complex list to a .npy file. |
write(const List values, as_real type) -> NumpyFile | Writes a real list to a .npy file. |
write(const List values, as_integer type) -> NumpyFile | Writes a integer list to a .npy file. |
write(const List values, as_bool type) -> NumpyFile | Writes a bool list to a .npy file. |
write(const List value) -> NumpyFile | Writes a value to a .npy file and returns the file for chaining. |
write(const string name, const integer value) -> NumpyFile | Writes a named value to a .npz archive and returns the file for chaining. |
write(const string name, const real value) -> NumpyFile | Writes a named value to a .npz archive and returns the file for chaining. |
write(const string name, const bool value) -> NumpyFile | Writes a named value to a .npz archive and returns the file for chaining. |
write(const string name, const RealTensor values) -> NumpyFile | Writes a named tensor to a .npz archive and returns the file for chaining. |
write(const string name, const ComplexTensor values) -> NumpyFile | Writes a named tensor to a .npz archive and returns the file for chaining. |
write(const string name, const complex value) -> NumpyFile | Writes a named value to a .npz archive and returns the file for chaining. |
write(const string name, const List values, as_string type) -> NumpyFile | Writes a named string list to a .npz archive. |
write(const string name, const List values, as_real type) -> NumpyFile | Writes a named real list to a .npz archive. |
write(const string name, const List values, as_integer type) -> NumpyFile | Writes a named integer list to a .npz archive. |
write(const string name, const List values, as_bool type) -> NumpyFile | Writes a named bool list to a .npz archive. |
write(const string name, const List value) -> NumpyFile | Writes a named value to a .npz archive and returns the file for chaining. |
write(const string name, const string value) -> NumpyFile | Writes a named value to a .npz archive and returns the file for chaining. |
write(const string name, const RealMatrix values) -> NumpyFile | Writes a named array or matrix to a .npz archive and returns the file for chaining. |
write(const string name, const ComplexMatrix values) -> NumpyFile | Writes a named array or matrix to a .npz archive and returns the file for chaining. |
write(const string name, const IntegerArray values) -> NumpyFile | Writes a named array or matrix to a .npz archive and returns the file for chaining. |
write(const string name, const RealArray values) -> NumpyFile | Writes a named array or matrix to a .npz archive and returns the file for chaining. |
write(const string name, const BoolArray values) -> NumpyFile | Writes a named array or matrix to a .npz archive and returns the file for chaining. |
write(const string name, const ComplexArray values) -> NumpyFile | Writes a named array or matrix to a .npz archive and returns the file for chaining. |
write(const string name, const RealSparseMatrix values) -> NumpyFile | Writes a named sparse matrix densely to a .npz archive and returns the file for chaining. |
write(const string name, const ComplexSparseMatrix values) -> NumpyFile | Writes a named sparse matrix densely to a .npz archive and returns the file for chaining. |
write(const RealMatrix values) -> NumpyFile | Writes a matrix to a .npy file and returns the file for chaining. |
write(const ComplexSparseMatrix values) -> NumpyFile
Writes a sparse matrix densely to a .npy file and returns the file for chaining.
Parameters
- values: Sparse matrix value (RealSparseMatrix, ComplexSparseMatrix).
Returns
Reference to the same NumpyFile instance.
write(const integer value) -> NumpyFile
Writes a value to a .npy file and returns the file for chaining.
Parameters
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const real value) -> NumpyFile
Writes a value to a .npy file and returns the file for chaining.
Parameters
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const bool value) -> NumpyFile
Writes a value to a .npy file and returns the file for chaining.
Parameters
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const RealTensor values) -> NumpyFile
Writes a tensor to a .npy file and returns the file for chaining.
Parameters
- values: Tensor value (RealTensor, ComplexTensor).
Returns
Reference to the same NumpyFile instance.
write(const BoolArray values) -> NumpyFile
Writes an array to a .npy file and returns the file for chaining.
Parameters
- values: Array value (BoolArray, IntegerArray, RealArray, ComplexArray).
Returns
Reference to the same NumpyFile instance.
write(const complex value) -> NumpyFile
Writes a value to a .npy file and returns the file for chaining.
Parameters
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const ComplexTensor values) -> NumpyFile
Writes a tensor to a .npy file and returns the file for chaining.
Parameters
- values: Tensor value (RealTensor, ComplexTensor).
Returns
Reference to the same NumpyFile instance.
write(const ComplexMatrix values) -> NumpyFile
Writes a matrix to a .npy file and returns the file for chaining.
Parameters
- values: Matrix value (RealMatrix, ComplexMatrix).
Returns
Reference to the same NumpyFile instance.
write(const IntegerArray values) -> NumpyFile
Writes an array to a .npy file and returns the file for chaining.
Parameters
- values: Array value (BoolArray, IntegerArray, RealArray, ComplexArray).
Returns
Reference to the same NumpyFile instance.
write(const RealArray values) -> NumpyFile
Writes an array to a .npy file and returns the file for chaining.
Parameters
- values: Array value (BoolArray, IntegerArray, RealArray, ComplexArray).
Returns
Reference to the same NumpyFile instance.
write(const ComplexArray values) -> NumpyFile
Writes an array to a .npy file and returns the file for chaining.
Parameters
- values: Array value (BoolArray, IntegerArray, RealArray, ComplexArray).
Returns
Reference to the same NumpyFile instance.
write(const RealSparseMatrix values) -> NumpyFile
Writes a sparse matrix densely to a .npy file and returns the file for chaining.
Parameters
- values: Sparse matrix value (RealSparseMatrix, ComplexSparseMatrix).
Returns
Reference to the same NumpyFile instance.
write(const List values, as_string type) -> NumpyFile
Writes a string list to a .npy file.
Parameters
- values: List of primitive values.
- type: Type tag (as_string).
Returns
Reference to the same NumpyFile instance.
write(const string name, const List values, as_complex type) -> NumpyFile
Writes a named complex list to a .npz archive.
Parameters
- name: Dataset name.
- values: List of primitive values.
- type: Type tag (as_complex).
Returns
Reference to the same NumpyFile instance.
write(const string value) -> NumpyFile
Writes a value to a .npy file and returns the file for chaining.
Parameters
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const List values, as_complex type) -> NumpyFile
Writes a complex list to a .npy file.
Parameters
- values: List of primitive values.
- type: Type tag (as_complex).
Returns
Reference to the same NumpyFile instance.
write(const List values, as_real type) -> NumpyFile
Writes a real list to a .npy file.
Parameters
- values: List of primitive values.
- type: Type tag (as_real).
Returns
Reference to the same NumpyFile instance.
write(const List values, as_integer type) -> NumpyFile
Writes a integer list to a .npy file.
Parameters
- values: List of primitive values.
- type: Type tag (as_integer).
Returns
Reference to the same NumpyFile instance.
write(const List values, as_bool type) -> NumpyFile
Writes a bool list to a .npy file.
Parameters
- values: List of primitive values.
- type: Type tag (as_bool).
Returns
Reference to the same NumpyFile instance.
write(const List value) -> NumpyFile
Writes a value to a .npy file and returns the file for chaining.
Parameters
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const integer value) -> NumpyFile
Writes a named value to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const real value) -> NumpyFile
Writes a named value to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const bool value) -> NumpyFile
Writes a named value to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const RealTensor values) -> NumpyFile
Writes a named tensor to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Tensor value (RealTensor, ComplexTensor).
Returns
Reference to the same NumpyFile instance.
write(const string name, const ComplexTensor values) -> NumpyFile
Writes a named tensor to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Tensor value (RealTensor, ComplexTensor).
Returns
Reference to the same NumpyFile instance.
write(const string name, const complex value) -> NumpyFile
Writes a named value to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const List values, as_string type) -> NumpyFile
Writes a named string list to a .npz archive.
Parameters
- name: Dataset name.
- values: List of primitive values.
- type: Type tag (as_string).
Returns
Reference to the same NumpyFile instance.
write(const string name, const List values, as_real type) -> NumpyFile
Writes a named real list to a .npz archive.
Parameters
- name: Dataset name.
- values: List of primitive values.
- type: Type tag (as_real).
Returns
Reference to the same NumpyFile instance.
write(const string name, const List values, as_integer type) -> NumpyFile
Writes a named integer list to a .npz archive.
Parameters
- name: Dataset name.
- values: List of primitive values.
- type: Type tag (as_integer).
Returns
Reference to the same NumpyFile instance.
write(const string name, const List values, as_bool type) -> NumpyFile
Writes a named bool list to a .npz archive.
Parameters
- name: Dataset name.
- values: List of primitive values.
- type: Type tag (as_bool).
Returns
Reference to the same NumpyFile instance.
write(const string name, const List value) -> NumpyFile
Writes a named value to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const string value) -> NumpyFile
Writes a named value to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- value: Scalar or list value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const RealMatrix values) -> NumpyFile
Writes a named array or matrix to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Array or matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const ComplexMatrix values) -> NumpyFile
Writes a named array or matrix to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Array or matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const IntegerArray values) -> NumpyFile
Writes a named array or matrix to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Array or matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const RealArray values) -> NumpyFile
Writes a named array or matrix to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Array or matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const BoolArray values) -> NumpyFile
Writes a named array or matrix to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Array or matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const ComplexArray values) -> NumpyFile
Writes a named array or matrix to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Array or matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const RealSparseMatrix values) -> NumpyFile
Writes a named sparse matrix densely to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Sparse matrix value.
Returns
Reference to the same NumpyFile instance.
write(const string name, const ComplexSparseMatrix values) -> NumpyFile
Writes a named sparse matrix densely to a .npz archive and returns the file for chaining.
Parameters
- name: Dataset name.
- values: Sparse matrix value.
Returns
Reference to the same NumpyFile instance.
write(const RealMatrix values) -> NumpyFile
Writes a matrix to a .npy file and returns the file for chaining.
Parameters
- values: Matrix value (RealMatrix, ComplexMatrix).
Returns
Reference to the same NumpyFile instance.