Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
scalar
- Page 1
Scalar variable Error
Programming
Web Development
16 Years Ago
by Elmo_loves_you
…]Incorrect syntax near '@Password' Must declare the
scalar
variable '@UserName' Must decalre the
scalar
variable '@RoleTitle'[/B] I have spent some time…
Scalar type and weird output
Programming
Software Development
14 Years Ago
by Hanyouslayer
…, minutes, and seconds, but I get a
scalar
error. I get the expecting
scalar
type at line 38- if x >= 3600…
Re: Scalar variable Error
Programming
Web Development
15 Years Ago
by salaam_taher
… Friends, I am getting the same error "Must declare
scalar
variable" but in very strange condition. Here is my…
Scalar product
Programming
Software Development
17 Years Ago
by Shark7
I need to calcualte the
scalar
product given two lists of numbers... [code]v1=input("…
Re: Scalar product
Programming
Software Development
17 Years Ago
by jrcagle
You probably know this, but just to be clear: the
scalar
product is the single number [B]sum(v1[i]*v2[…
Re: Scalar product
Programming
Software Development
17 Years Ago
by sneekula
You can also use module numpy: [php]import numpy v1 = numpy.array([1, 2, 3, 4]) v2 = numpy.array([4, 3, 2, 1]) # product print v1*v2 # [4 6 6 4] #
scalar
product print numpy.add.reduce(v1*v2) # 20 [/php]Numpy is a free high speed numeric extension module used by engineers and scientists.
Scalar-Valued Function: Convert to Number
Programming
Databases
11 Years Ago
by mada.hauptfleisch
… (Table2) with a DECIMAL (18, 2) column with the following
Scalar
-Valued Function: Convert to Number. (The reason why the column…
Opengl C++ int to non-scalar type struct error
Programming
Software Development
12 Years Ago
by tyricec
…cpp:34:49: error: conversion from ‘int’ to non-
scalar
type ‘GLPoint’ requested project.cpp: In function ‘void vertices()’:…cpp:52:22: error: conversion from ‘int’ to non-
scalar
type ‘GLPoint’ requested project.cpp:53:22: error: conversion …cpp:100:25: error: conversion from ‘int’ to non-
scalar
type ‘GLPoint’ requested project.cpp:101:25: error: …
I get this error msg: Must Declar tha scalar variable
Programming
Software Development
11 Years Ago
by HibaPro
…) End Try con.Close() the error msg : Must declare the
scalar
variable "@ScalarName".statmenets could not be prepared my…
scalar
is the primary key and is identity how i can …
Re: Regex match to a scalar?
Programming
Software Development
15 Years Ago
by KevinADC
… no need to capture it and assign it to a
scalar
. All you need to know is if the regexp is… true then you can assign "test" to a
scalar
. But maybe you are really looking for a pattern of…
Must Declare Scalar Variable?
Programming
Web Development
15 Years Ago
by Slovig
… major one, is that it requires me to declare a
scalar
variable, while the code in the book has none, and…
Re: Must Declare Scalar Variable?
Programming
Web Development
15 Years Ago
by vuyiswamb
…. if you get an error that says you must declare
scalar
variable , you must know that one of the Variables in…
Regex match to a scalar?
Programming
Software Development
15 Years Ago
by arya6000
Hello If we have code like this [CODE]$content =~ m/test/;[/CODE] than it will return true or false, but how can I put a match of a regex into a
scalar
instead of it returning true or false? Thank You
INSERT with subquery and scalar vars
Programming
Databases
14 Years Ago
by blozzy
… select command, but i would like to combine it with
scalar
vars from a data grid ? please help: [code] INSERT INTO…
error: conversion from `PriceFeed*' to non-scalar type `PriceFeed' requested
Programming
Software Development
14 Years Ago
by axed
… wrong. This is the error conversion from `PriceFeed*' to non-
scalar
type `PriceFeed' requested
Student problem: scalar deleting destructor linker error
Programming
Software Development
14 Years Ago
by HoldmysunnyD
… stack class, VS threw me a linker error, citing "
scalar
deleting destructor". I tried commenting out the contents of…
Error: conversion from 'std::string*' to non-scalar type 'std::string' requested
Programming
Software Development
12 Years Ago
by sushlet
… my homework problem. error: conversion from 'std::string*' to non-
scalar
type 'std::string' requested The lines with the error are…
Error : Must declare the scalar variable
Programming
Software Development
12 Years Ago
by winnitbaker
… changed methods aswell. The current error is Must Declare the
scalar
variable Filter0 Below is the function - strQualified is an array…
Matching File Names From Scalar Variable -- PERL
Programming
Software Development
10 Years Ago
by magikman
… file names matching a pattern that's stored in a
scalar
variable. Please find my code below: use warnings; use strict…
Re: Matching File Names From Scalar Variable -- PERL
Programming
Software Development
10 Years Ago
by 2teez
… file names matching a pattern that's stored in a
scalar
variable can simply be done like so: use warnings; use…
Re: Scalar variable Error
Programming
Web Development
16 Years Ago
by ravichandra
Remove RETURN @RoleTitle and try Good luck
Re: Scalar variable Error
Programming
Web Development
16 Years Ago
by Elmo_loves_you
[QUOTE=ravichandra;564301]Remove RETURN @RoleTitle and try Good luck[/QUOTE] Thankyou very much, it worked :) I now have my login page identifying the correct rank .... wooohooo though thats just one of a million other things I have to do :)
Re: Scalar type and weird output
Programming
Software Development
14 Years Ago
by aabb
Hello .MODEL SMALL .STACK 100 CR EQU 13 ;symbolic constant LF EQU 10 ;symbolic constant .DATA x db ? hours db ? minutes db ? seconds db ? prompt1 db 'Enter an amount in seconds in which to compute hours, minutes, and seconds from.', CR, LF, '$' hlabel db 'Hours: ', CR, LF, '$' …
Re: Scalar product
Programming
Software Development
17 Years Ago
by vegaseat
You can code it like this ... v1=input("Insert the first vector (eg, 1,2,3,4): ") v2=input("Insert the second vector (eg. 4,3,2,1): ") try: v3 = [] for i in range(len(v1)): v3.append(v1[i]*v2[i]) print v3 except IndexError: print "vectors/lists need to be equal …
Re: Scalar product
Programming
Software Development
17 Years Ago
by ghostdog74
Or you could do this [code] import operator a = (1,2,3,4) b = (4,3,2,1) print sum(map(operator.mul,a,b)) [/code]
Re: Scalar product
Programming
Software Development
17 Years Ago
by Shark7
thanks... =)
Re: Scalar-Valued Function: Convert to Number
Programming
Databases
11 Years Ago
by BitBlt
The problem is line 7. You're testing to see if there's a decimal point, then testing if there is a non-zero number after the decimal point...if there is, you return NULL. I'm not sure what you want to accomplish with that test...if you put in (for instance) 1234.0 then the test passes because the number returned by the "CONVERT...PARSENAME&…
Re: Scalar-Valued Function: Convert to Number
Programming
Databases
11 Years Ago
by mada.hauptfleisch
Thank you very much for your reply. I'm a bit of a "newbie" and are struggling with this. I'm trying to take the decimal value in Table1 i.e 1.44 or 0.3 and insert it exactly the same into the Table2 DECIMAL value column and not let it insert a NULL value. (Don't know how to correct the code in order for this to happen) Also if the …
Re: Scalar-Valued Function: Convert to Number
Programming
Databases
11 Years Ago
by BitBlt
It will automatically round if you don't do anything else. IF that's okay, great. If not, you'll have to resort to other means such as the one you're using.
Re: Must declare the scalar variable???
Programming
Databases
13 Years Ago
by JustmeVSI
Thank you. It fixed one of the problems but it is still complaining about the postCode that I must declare a
scalar
as well =/. Probably because I have declared it as UNIQUE in the table. Should I do the same for it or it is bad idea?
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC