/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/analysis/differentiation/ |
H A D | SparseGradientTest.java | 34 return SparseGradient.createVariable(0, x); in build() 49 SparseGradient grad = SparseGradient.createVariable(id, v); in testVariable() 146 SparseGradient x = SparseGradient.createVariable(0, 1.0); in testAdd() 147 SparseGradient y = SparseGradient.createVariable(1, 2.0); in testAdd() 148 SparseGradient z = SparseGradient.createVariable(2, 3.0); in testAdd() 162 SparseGradient x = SparseGradient.createVariable(0, 1.0); in testSubtract() 163 SparseGradient y = SparseGradient.createVariable(1, 2.0); in testSubtract() 164 SparseGradient z = SparseGradient.createVariable(2, 3.0); in testSubtract() 178 SparseGradient x = SparseGradient.createVariable(0, 1.0); in testMultiply() 179 SparseGradient y = SparseGradient.createVariable(1, 2.0); in testMultiply() [all …]
|
/dports/science/py-netCDF4/netcdf4-python-1.5.7rel/test/ |
H A D | tst_slicing.py | 25 v = f.createVariable('data','u1',('x','y','z')) 26 vu = f.createVariable('datau','u1',('xu','y','zu')) 27 v1 = f.createVariable('data1d', 'u1', ('x',)) 28 v2 = f.createVariable('data1dx', 'u1', ('xu2',)) 100 v = f.createVariable('data', float) 114 a = dset.createVariable('a', 'i', ('dim',)) 115 b = dset.createVariable('b', 'i', ('dim',)) 116 c = dset.createVariable('c', 'i', ('dim',)) 226 f.createVariable('v2',np.float64,('d1','d2','d3')) 249 f.createVariable('v1',np.int64,('d2','d1',)) [all …]
|
H A D | tst_endian.py | 20 ll = dataset.createVariable('little-little', '<f4', dims) 21 lb = dataset.createVariable('little-big', '<f4', dims) 22 bl = dataset.createVariable('big-little', '>f4', dims) 23 bb = dataset.createVariable('big-big', '>f4', dims) 76 var_big_endian = nc.createVariable(\ 80 var_big_endian2 = nc.createVariable(\ 92 var_native_endian = nc.createVariable(\ 110 vb=nc.createVariable('xb', xb.dtype, ('x'), 112 vl=nc.createVariable('xl', xl.dtype, ('x'), 130 v1 = nc.createVariable('v1','i2','x',endian='big') [all …]
|
H A D | tst_masked.py | 46 foo = file.createVariable('maskeddata', 'f8', ('n',)) 47 foo2 = file.createVariable('maskeddata2', 'f8', ('n',)) 48 foo3 = file.createVariable('maskeddata3', 'i4', ('n',)) 55 bar = file.createVariable('packeddata', 'i2', ('n',)) 64 doh = file.createVariable('packeddata2','i2','n') 69 doh2 = file.createVariable('packeddata3','i2','n') 74 v = file.createVariable('v',np.float64,'x',fill_value=-9999) 82 var1 = dataset.createVariable("var1", "f8", (dim.name,)) 84 var2 = dataset.createVariable("var2", "u1", (dim.name,)) 132 f.createVariable('variable', np.float32, dimensions=('dimension',))
|
H A D | tst_vlen.py | 39 ragged = f.createVariable(VAR1_NAME, vlen_t,\ 41 strings = f.createVariable(VAR2_NAME, str, 43 strings_alt = f.createVariable(VAR3_NAME, datas.astype(str).dtype, 45 string_scalar = f.createVariable(VAR4_NAME,str,()) 46 vlen_scalar = f.createVariable(VAR5_NAME,vlen_t,()) 89 f.createVariable('foo', str, ('x',)) 99 teststring = f.createVariable('teststring', str) 113 strtest.createVariable('tenstrings', str, ['tenstrings']) 170 v = f.createVariable('vl', vlen_type, 'x') 171 w = f.createVariable('vl2', np.float64, 'x') [all …]
|
H A D | tst_types.py | 31 …foo = f.createVariable('data_'+typ, typ, ('n1','n2',),zlib=zlib,complevel=complevel,shuffle=shuffl… 36 v = f.createVariable('issue271', np.dtype('S1'), [], fill_value=b'Z') 37 v2 = f.createVariable('issue273', np.dtype('S1'), 'n2',\ 40 v3 = f.createVariable('issue707',np.int8,'n2') 92 a = f.createVariable('a', 'c', ())
|
H A D | tst_masked6.py | 25 v = f.createVariable('v', "i2", 'x') 26 w = f.createVariable('w', "i2", 'x') 95 f.createVariable('var0', "i2", ()) 96 grp1.createVariable('var1', 'f8', ()) 97 grp2.createVariable('var2', 'f4', ())
|
H A D | tst_vars.py | 34 v1 = f.createVariable(VAR_DOUBLE_NAME, 'f8',(DIM1_NAME,DIM2_NAME,DIM3_NAME)) 35 v2 = f.createVariable(VAR_SHORT_NAME, 'i2',(DIM2_NAME,DIM3_NAME)) 41 v1g = g.createVariable(VAR_DOUBLE_NAME, 'f8',(DIM1_NAME,DIM2_NAME,DIM3_NAME)) 42 v2g = g.createVariable(VAR_SHORT_NAME, 'i2',(DIM2_NAME,DIM3_NAME))
|
H A D | tst_scaled.py | 37 v = f.createVariable('v', "i2", 'x') 38 vv = f.createVariable('vv', "i2", 'xx') 174 v = f.createVariable('v', dtyp, ('x',)) 206 f.createVariable('var0', "i2", ()) 207 grp1.createVariable('var1', 'f8', ()) 208 grp2.createVariable('var2', 'f4', ())
|
H A D | tst_multifile2.py | 30 x = f.createVariable('x','i',('x',)) 32 dat = f.createVariable('data','i',('x','y','z',)) 81 time = f.createVariable('time', 'f', ('time', )) 88 x = f.createVariable('x','f',('time', 'y', 'z'))
|
H A D | tst_diskless.py | 30 foo = f.createVariable('data1', ranarr.dtype.str[1:], ('n1','n2','n3')) 37 bar = f.createVariable('data2', ranarr.dtype.str[1:], ('n1','n2','n4')) 46 foo = f2.createVariable('data1', ranarr.dtype.str[1:], ('n1','n2','n3'))
|
H A D | tst_stringarr.py | 31 v = nc.createVariable('strings','S1',('n1','n2','nchar')) 32 v2 = nc.createVariable('strings2','S1',('n1','n2','nchar')) 36 v3 = nc.createVariable('strings3','S1',('n1','n2','nchar'))
|
/dports/science/py-netCDF4/netcdf4-python-1.5.7rel/examples/ |
H A D | tutorial.py | 46 times = rootgrp.createVariable('time','f8',('time',)) 47 levels = rootgrp.createVariable('level','i4',('level',)) 48 latitudes = rootgrp.createVariable('lat','f4',('lat',)) 49 longitudes = rootgrp.createVariable('lon','f4',('lon',)) 124 x = f.createVariable('x','i',('x',)) 143 v = f.createVariable('cmplx_var',complex128_t,'x_dim') 240 vlvar = f.createVariable('phony_vlen_var', vlen_t, ('y','x')) 253 strvar = f.createVariable('strvar',str,'z') 296 v = nc.createVariable('strings','S1',('nstrings','nchars')) 327 v = nc.createVariable('v',np.int32,'x') [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/io/tests/ |
H A D | test_netcdf.py | 30 time = f.createVariable('time', VARTYPE_EG, ('time',)) 177 var = f.createVariable('var', np.int16, ('dim',)) 222 var = f.createVariable('var', 'S1', ('x',)) 259 f.createVariable('x', float, ('x',)) 286 v = f.createVariable('v', 'i2', ['x']) 302 f.createVariable('v1', 'i2', ['x']) 303 f.createVariable('v2', np.int16, ['x']) 356 v = f.createVariable('zerodim', 'i2', []) 406 f.createVariable('time', 'd', ('time',)) 408 x = f.createVariable('x', 'd', ('x',)) [all …]
|
/dports/science/py-nibabel/nibabel-3.2.1/nibabel/externals/tests/ |
H A D | test_netcdf.py | 26 time = f.createVariable('time', VARTYPE_EG, ('time',)) 132 f.createVariable('time', dt, ('time',)) 139 v = f.createVariable('v', 'i2', ['x']) 155 f.createVariable('v1', 'i2', ['x']) 156 f.createVariable('v2', np.int16, ['x']) 157 f.createVariable('v3', np.dtype(np.int16), ['x']) 168 float_var = f.createVariable('float_var', 'f', ('float_var',))
|
/dports/science/py-ase/ase-3.22.0/ase/test/fio/ |
H A D | test_netcdftrajectory.py | 159 nc.createVariable('atom_types', 'i', ('atom',)) 160 nc.createVariable('coordinates', 'f4', ('frame', 'atom', 'spatial',)) 161 nc.createVariable('cell_lengths', 'f4', ('frame', 'cell_spatial',)) 162 nc.createVariable('cell_angles', 'f4', ('frame', 'cell_angular',)) 189 nc.createVariable('atom_types', 'i', ('atom',)) 190 nc.createVariable('coordinates', 'f4', ('frame', 'atom', 'spatial',)) 191 nc.createVariable('cell_lengths', 'f4', ('frame', 'cell_spatial',)) 192 nc.createVariable('cell_angles', 'f4', ('frame', 'cell_angular',)) 193 nc.createVariable('id', 'i', ('frame', 'atom',))
|
/dports/www/grafana8/grafana-8.3.6/public/app/features/variables/query/ |
H A D | actions.test.ts | 84 const variable = createVariable({ includeAll: false }); 100 const variable = createVariable({ includeAll: false }); 123 const variable = createVariable({ includeAll: true }); 150 const variable = createVariable({ includeAll: true }); 179 const variable = createVariable({ includeAll: true }); 207 const variable = createVariable({ includeAll: true }); 240 const variable = createVariable({ includeAll: true }); 270 const variable = createVariable({ includeAll: true }); 300 const variable = createVariable({ includeAll: true }); 329 const variable = createVariable({ datasource: undefined }); [all …]
|
/dports/science/py-ase/ase-3.22.0/ase/calculators/ |
H A D | amber.py | 130 time = fout.createVariable('time', 'd', ('time',)) 134 spatial = fout.createVariable('spatial', 'c', ('spatial',)) 140 coordinates = fout.createVariable('coordinates', 'd', 146 velocities = fout.createVariable('velocities', 'd', 152 cell_angular = fout.createVariable('cell_angular', 'c', 159 cell_spatial = fout.createVariable('cell_spatial', 'c', 164 cell_lengths = fout.createVariable('cell_lengths', 'd', 171 cell_angles = fout.createVariable('cell_angles', 'd',
|
/dports/science/py-MDAnalysis/MDAnalysis-0.19.2/MDAnalysis/coordinates/ |
H A D | TRJ.py | 823 coords = ncfile.createVariable('coordinates', 'f4', 827 spatial = ncfile.createVariable('spatial', 'c', ('spatial', )) 830 time = ncfile.createVariable('time', 'f4', ('frame',)) 835 cell_lengths = ncfile.createVariable('cell_lengths', 'f8', 839 cell_spatial = ncfile.createVariable('cell_spatial', 'c', 843 cell_angles = ncfile.createVariable('cell_angles', 'f8', 847 cell_angular = ncfile.createVariable('cell_angular', 'c', 854 velocs = ncfile.createVariable('velocities', 'f4', 858 forces = ncfile.createVariable('forces', 'f4',
|
/dports/science/py-ase/ase-3.22.0/ase/io/ |
H A D | netcdftrajectory.py | 352 self.nc.createVariable(self._spatial_var, 'S1', 356 self.nc.createVariable(self._cell_spatial_dim, 'S1', 360 self.nc.createVariable(self._cell_angular_var, 'S1', 367 self.nc.createVariable(self._numbers_var[0], 'i', 370 self.nc.createVariable(self._positions_var, 'f4', 376 self.nc.createVariable(self._cell_lengths_var, 'd', 381 self.nc.createVariable(self._cell_angles_var, 'd', 385 self.nc.createVariable(self._cell_origin_var, 'd', 392 self.nc.createVariable(self._time_var, 'f8', (self._frame_dim,)) 396 self.nc.createVariable(self._velocities_var, 'f4', [all …]
|
/dports/biology/py-libsedml/libSEDML-2.0.26/examples/ruby/ |
H A D | create_sedml.rb | 73 variable = compute.createVariable(); 100 var = dg.createVariable(); 111 var = dg.createVariable();
|
/dports/biology/libsedml/libSEDML-2.0.26/examples/ruby/ |
H A D | create_sedml.rb | 73 variable = compute.createVariable(); 100 var = dg.createVariable(); 111 var = dg.createVariable();
|
/dports/biology/py-libsedml/libSEDML-2.0.26/examples/csharp/ |
H A D | create_sedml.cs | 84 SedVariable variable = compute.createVariable(); in Main() 112 SedVariable var = dg.createVariable(); in Main() 123 var = dg.createVariable(); in Main()
|
/dports/biology/libsedml/libSEDML-2.0.26/examples/csharp/ |
H A D | create_sedml.cs | 84 SedVariable variable = compute.createVariable(); in Main() 112 SedVariable var = dg.createVariable(); in Main() 123 var = dg.createVariable(); in Main()
|
/dports/biology/py-libsedml/libSEDML-2.0.26/examples/perl/ |
H A D | create_sedml.pl | 78 $variable = $compute->createVariable(); 105 $var = $dg->createVariable(); 116 $var = $dg->createVariable();
|