Top "Scalar" questions

In computing and programming, a scalar variable or value refers to a single value, as opposed to data structures such as arrays or lists.

Excel: Scalar product of two ranges

I am trying to find a proper way to calculate the scalar product of two ranges. For instance, the product …

excel formula scalar
Warning: Cannot use a scalar value as an array in

I am seeing the following error when executing my status script: Warning: Cannot use a scalar value as an array …

php arrays scalar
Scalar vs. primitive data type - are they the same thing?

In various articles I have read, there are sometimes references to primitive data types and sometimes there are references to …

programming-languages types terminology primitive-types scalar
How to multiply a numpy array by a scalar

I have a numpy array and I'm trying to multiply it by a scalar but it keeps throwing an error: …

python arrays numpy scalar
Opencv multiply scalar and matrix

I have been trying to achieve something which should pretty trivial and is trivial in Matlab. I want to simply …

opencv matrix scale multiplication scalar
opencv: convert Scalar to float or double type

Can anyone help me in converting scalar type of openCV to basic types like float or double? Scalar Sum1=sum(…

c opencv scalar
Getting Current Date Time for a Random Number Generator's Seed

Preferably as a long. All the example I can find are getting the date/time as a string and not …

java time long-integer scalar
Vectorizing a function (Python)

I'm new to python and trying to do a HW assignment and it keeps throwing this error back at me (…

python numpy scipy vectorization scalar
Alternative for define array php

I'm looking for an alternative for define('name', array) as using an array in define gives me this error: Constants …

php arrays constants global scalar
How do I multiply each member of array by a scalar in perl?

Here is the code... use strict; use warnings; my @array= (1,2,3,4,5); my $scalar= 5; @array= $scalar*@array; print @array; Need something that …

arrays perl scalar