Questions tagged [numeric-array]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
1 answer
121 views

Arithmetic operations on NumericArrays

Currently, NumericArrays are directly supported by the most important array-related functions, what makes them a very attractive data structure for implementing ...
user avatar
10 votes
1 answer
282 views

What is idiomatic way to extract NumericArray from Image?

It is easy to see that NumericArray is a construct underlying Image: ...
user avatar
1 vote
1 answer
55 views

Why the substraction of two big numbers does not yield 0, but taking their quotient yields 1?

I have two series, generated as, ...
user avatar
1 vote
1 answer
61 views

Problem with numerical ConjugateTranspose?

Suppose I have a normalized numerical array, B1, ...
user avatar
  • 5,464
3 votes
4 answers
64 views

Making function $S$ such that inputs as an list $\{1,3,2,4, \}$ and produces $s_{1234}$

I want to make $S[\{,\cdots, \}]$ as follows First input of $S$ is given list $\{1,2,3,\cdots, n\}$ and it produces $s_{123\cdots n}$ Further, if the ordering of the list is given differently, still ...
user avatar
  • 367
2 votes
1 answer
106 views

NumericArray in DICOM Implementation of Version 12.1

The 12.1 reimplementation of import for DICOM data seems to bring in the data from a single slice as a NumericArray, In the past, the data would be returned as a ...
user avatar
  • 328
1 vote
1 answer
43 views

Get all step values from a while-loop

I did a loop (first of my life) for an iterative calculation. Is it possible to get all step values as a matrix. That means the "xValue" variable should be like {215.108,219.688,...} and not only the ...
user avatar
1 vote
1 answer
66 views

Identifying transitions in an array

I have two arrays of elements. The second array is generated by the transfer of one or more element to another position. I want to know which element is transferred to which position. Following is the ...
user avatar
  • 973
5 votes
0 answers
67 views

Does NumericArray always maintain data unmodified?

Suppose that we create a NumericArray using a LibraryLink function, then pass this to another one. Is NumericArray guaranteed to maintain the binary data as it was ...
user avatar
  • 227k
3 votes
1 answer
354 views

Read NumericArray from a file

Suppose I have a binary file which consists of a list of integer or real numbers. Let's say signed 8-bit integers; so each byte of the file is a single such integer. How can I read it and turn it into ...
user avatar