File: lsamen.l

package info (click to toggle)
lapack 3.0.20000531a-28
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 61,920 kB
  • ctags: 46,200
  • sloc: fortran: 584,835; perl: 8,226; makefile: 2,331; awk: 71; sh: 45
file content (30 lines) | stat: -rwxr-xr-x 854 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.TH LSAMEN l "15 June 2000" "LAPACK version 3.0" ")"
.SH NAME
LSAMEN - test if the first N letters of CA are the same as the first N letters of CB, regardless of case
.SH SYNOPSIS
.TP 17
LOGICAL FUNCTION
LSAMEN( N, CA, CB )
.TP 17
.ti +4
CHARACTER*(
* ) CA, CB
.TP 17
.ti +4
INTEGER
N
.SH PURPOSE
LSAMEN tests if the first N letters of CA are the same as the first N letters of CB, regardless of case. LSAMEN returns .TRUE. if CA and CB are equivalent except for case
and .FALSE. otherwise.  LSAMEN also returns .FALSE. if LEN( CA )
or LEN( CB ) is less than N.
.br

.SH ARGUMENTS
.TP 8
N       (input) INTEGER
The number of characters in CA and CB to be compared.
.TP 8
CA      (input) CHARACTER*(*)
CB      (input) CHARACTER*(*)
CA and CB specify two character strings of length at least N.
Only the first N characters of each string will be accessed.