Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srscl.f(3) [centos man page]

srscl.f(3)							      LAPACK								srscl.f(3)

NAME
srscl.f - SYNOPSIS
Functions/Subroutines subroutine srscl (N, SA, SX, INCX) SRSCL multiplies a vector by the reciprocal of a real scalar. Function/Subroutine Documentation subroutine srscl (integerN, realSA, real, dimension( * )SX, integerINCX) SRSCL multiplies a vector by the reciprocal of a real scalar. Purpose: SRSCL multiplies an n-element real vector x by the real scalar 1/a. This is done without overflow or underflow as long as the final result x/a does not overflow or underflow. Parameters: N N is INTEGER The number of components of the vector x. SA SA is REAL The scalar a which is used to divide each component of x. SA must be >= 0, or the subroutine will divide by zero. SX SX is REAL array, dimension (1+(N-1)*abs(INCX)) The n-element vector x. INCX INCX is INTEGER The increment between successive values of the vector SX. > 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n Author: Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Date: September 2012 Definition at line 85 of file srscl.f. Author Generated automatically by Doxygen for LAPACK from the source code. Version 3.4.2 Tue Sep 25 2012 srscl.f(3)

Check Out this Related Man Page

drscl.f(3)							      LAPACK								drscl.f(3)

NAME
drscl.f - SYNOPSIS
Functions/Subroutines subroutine drscl (N, SA, SX, INCX) DRSCL multiplies a vector by the reciprocal of a real scalar. Function/Subroutine Documentation subroutine drscl (integerN, double precisionSA, double precision, dimension( * )SX, integerINCX) DRSCL multiplies a vector by the reciprocal of a real scalar. Purpose: DRSCL multiplies an n-element real vector x by the real scalar 1/a. This is done without overflow or underflow as long as the final result x/a does not overflow or underflow. Parameters: N N is INTEGER The number of components of the vector x. SA SA is DOUBLE PRECISION The scalar a which is used to divide each component of x. SA must be >= 0, or the subroutine will divide by zero. SX SX is DOUBLE PRECISION array, dimension (1+(N-1)*abs(INCX)) The n-element vector x. INCX INCX is INTEGER The increment between successive values of the vector SX. > 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n Author: Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Date: September 2012 Definition at line 85 of file drscl.f. Author Generated automatically by Doxygen for LAPACK from the source code. Version 3.4.2 Tue Sep 25 2012 drscl.f(3)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

vector<string> with insert cmd

How do I correct this vector<string> insert. I am geeting segmintation dump. #include <algorithm> #include <cstdio> #include <cstdlib> #include <cctype> #include <cmath> #include <iostream> //#include <sstream> #include <string> #include <utility> #include <vector> using... (1 Reply)
Discussion started by: photon
1 Replies

2. Shell Programming and Scripting

divide field in two strings

Hi everybody: Anybody know how could I divide a field like this: 1234 like 12 34. thanks in advance. (2 Replies)
Discussion started by: tonet
2 Replies

3. Programming

Sorting a vector of strings into numerical order.

I have a vector of strings that contain a list of channels like this: 101,99,22HD,432,300HD I have tried using the sort routine like this: sort(mychans.begin(),mychans.end()); For some reason my channels are not being sorted at all. I was hoping someone might have some input that might... (2 Replies)
Discussion started by: sepoto
2 Replies

4. Programming

problem with c++ find, find_if

I am trying to search a vector for something, and it I find it, do something. I have this so far, vector<vector<int> >::iterator path_iterator; vector<int>::iterator path_iterator; vector<int> check_path; // to each path1, try to add a neighbor of last_vertex for(j=0;... (0 Replies)
Discussion started by: LMHmedchem
0 Replies

5. Shell Programming and Scripting

Issues when dividing

Hi, I do have a very simple task to divide 2 variables and display the result. I CANNOT use bc when i try var1=2 var2=4 var3=$(($var1 / $var2)) echo $var3 the output is always 0 What can I change to get a dotted decimal result such as 0.5 ? Thanks! (5 Replies)
Discussion started by: svetoslav_sj
5 Replies

6. Shell Programming and Scripting

How do add values in a vector using a sliding window?

Greetings. I have a vector of numbers such as the following: 1 75 79 90 91 92 109 120 167 198 203 204 206 224 230 236 240 (4 Replies)
Discussion started by: Twinklefingers
4 Replies