GRASS 8 Programmer's Manual
8.6.0dev(2026)-5f4f7ad06c
Loading...
Searching...
No Matches
mattr.c
Go to the documentation of this file.
1
/* mattr.c CCMATH mathematics library source code.
2
*
3
* Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
4
* This code may be redistributed under the terms of the GNU library
5
* public license (LGPL). ( See the lgpl.license file for details.)
6
* ------------------------------------------------------------------------
7
*/
8
void
mattr
(
double
*a,
double
*
b
,
int
m
,
int
n)
9
{
10
double
*p;
11
12
int
i,
j
;
13
14
for
(i = 0; i < n; ++i, ++
b
)
15
for
(
j
= 0, p =
b
;
j
<
m
; ++
j
, p += n)
16
*a++ = *p;
17
}
AMI_STREAM
Definition
ami_stream.h:153
mattr
void mattr(double *a, double *b, int m, int n)
Definition
mattr.c:8
b
double b
Definition
r_raster.c:39
lib
external
ccmath
mattr.c
Generated on Sat Apr 4 2026 07:00:46 for GRASS 8 Programmer's Manual by
1.9.8