Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
80df7a87
There was an error fetching the commit references. Please try again later.
Commit
80df7a87
authored
10 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Patches
Plain Diff
Adding tnlMatrixRow.
parent
2ffbaea9
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/implementation/matrices/tnlMatrixRow_impl.h
+24
-0
24 additions, 0 deletions
src/implementation/matrices/tnlMatrixRow_impl.h
src/matrices/tnlMatrixRow.h
+49
-0
49 additions, 0 deletions
src/matrices/tnlMatrixRow.h
with
73 additions
and
0 deletions
src/implementation/matrices/tnlMatrixRow_impl.h
0 → 100644
+
24
−
0
View file @
80df7a87
/***************************************************************************
tnlMatrixRow_impl.h - description
-------------------
begin : Dec 19, 2014
copyright : (C) 2014 by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef TNLMATRIXROW_IMPL_H_
#define TNLMATRIXROW_IMPL_H_
#endif
/* TNLMATRIXROW_IMPL_H_ */
This diff is collapsed.
Click to expand it.
src/matrices/tnlMatrixRow.h
0 → 100644
+
49
−
0
View file @
80df7a87
/***************************************************************************
tnlMatrixRow.h - description
-------------------
begin : Dec 19, 2014
copyright : (C) 2014 by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef TNLMATRIXROW_H_
#define TNLMATRIXROW_H_
template
<
typename
Real
,
typename
Index
>
class
tnlMatrixRow
{
public:
tnlMatrixRow
();
void
bind
(
Index
*
columns
,
Real
*
values
,
const
Index
length
,
const
Index
step
);
Real
setElement
(
const
Index
&
elementIndex
,
const
Index
&
column
,
const
Real
&
value
);
protected:
Real
*
values
;
Index
*
columns
;
Index
length
,
step
;
};
#include
<implementation/matrices/tnlMatrixRow_impl.h>
#endif
/* TNLMATRIXROW_H_ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment