GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
int64NDArray.cc
Go to the documentation of this file.
1 // N-D Array manipulations.
2 /*
3 
4 Copyright (C) 2004-2015 John W. Eaton
5 
6 This file is part of Octave.
7 
8 Octave is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version 3 of the License, or (at your
11 option) any later version.
12 
13 Octave is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with Octave; see the file COPYING. If not, see
20 <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #ifdef HAVE_CONFIG_H
25 #include <config.h>
26 #endif
27 
28 #include "int64NDArray.h"
29 #include "mx-op-defs.h"
30 #include "intNDArray.cc"
31 
32 #include "bsxfun-defs.cc"
33 
34 template class OCTAVE_API intNDArray<octave_int64>;
35 
36 template OCTAVE_API
37 std::ostream&
38 operator << (std::ostream& os, const intNDArray<octave_int64>& a);
39 
40 template OCTAVE_API
41 std::istream&
42 operator >> (std::istream& is, intNDArray<octave_int64>& a);
43 
46 
47 SND_CMP_OPS (octave_int64, int64NDArray)
48 SND_BOOL_OPS (octave_int64, int64NDArray)
49 
50 NDND_CMP_OPS (int64NDArray, int64NDArray)
51 NDND_BOOL_OPS (int64NDArray, int64NDArray)
52 
53 MINMAX_FCNS (int64NDArray, octave_int64)
54 
57 
59 
template OCTAVE_API std::istream & operator>>(std::istream &is, intNDArray< octave_int64 > &a)
#define NDS_BOOL_OPS(ND, S)
Definition: mx-op-defs.h:253
#define NDS_CMP_OPS(ND, S)
Definition: mx-op-defs.h:236
#define SND_CMP_OPS(S, ND)
Definition: mx-op-defs.h:283
#define BSXFUN_OP_DEF_MXLOOP(OP, ARRAY, LOOP)
Definition: bsxfun-defs.cc:221
#define MINMAX_FCNS(T, S)
Definition: mx-op-defs.h:590
#define NDND_CMP_OPS(ND1, ND2)
Definition: mx-op-defs.h:330
#define NDND_BOOL_OPS(ND1, ND2)
Definition: mx-op-defs.h:347
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
#define SND_BOOL_OPS(S, ND)
Definition: mx-op-defs.h:300
void mx_inline_pow(size_t n, R *r, const X *x, const Y *y)
Definition: mx-inlines.cc:311
#define BSXFUN_STDREL_DEFS_MXLOOP(ARRAY)
Definition: bsxfun-defs.cc:244
#define BSXFUN_STDOP_DEFS_MXLOOP(ARRAY)
Definition: bsxfun-defs.cc:236
#define BSXFUN_POW_MIXED_MXLOOP(INT_TYPE)
Definition: bsxfun-defs.cc:253