Mercurial > hg > octave-nkf
comparison liboctave/dNDArray.h @ 14951:4c9fd3e31436
Start of jit support for double matricies
author | Max Brister <max@2bass.com> |
---|---|
date | Thu, 14 Jun 2012 16:38:06 -0500 |
parents | 13cc11418393 |
children |
comparison
equal
deleted
inserted
replaced
14950:7ab3ac5c676c | 14951:4c9fd3e31436 |
---|---|
61 | 61 |
62 template <class U> | 62 template <class U> |
63 explicit NDArray (const intNDArray<U>& a) : MArray<double> (a) { } | 63 explicit NDArray (const intNDArray<U>& a) : MArray<double> (a) { } |
64 | 64 |
65 NDArray (const charNDArray&); | 65 NDArray (const charNDArray&); |
66 | |
67 // For jit support only | |
68 NDArray (double *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep) | |
69 : MArray<double> (sdata, slen, adims, arep) { } | |
66 | 70 |
67 NDArray& operator = (const NDArray& a) | 71 NDArray& operator = (const NDArray& a) |
68 { | 72 { |
69 MArray<double>::operator = (a); | 73 MArray<double>::operator = (a); |
70 return *this; | 74 return *this; |