SheafSystem
0.0.0.0
ternary_index.cc
1
2
//
3
// Copyright (c) 2014 Limit Point Systems, Inc.
4
//
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
//
9
// http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
16
//
17
18
// Implementation for class ternary_index
19
20
#include "SheafSystem/ternary_index.h"
21
#include "SheafSystem/assert_contract.h"
22
#include "SheafSystem/std_iostream.h"
23
24
25
// Member functions all inlined in header file.
26
27
// ===========================================================
28
// NON-MEMBER FUNCTIONS
29
// ===========================================================
30
31
std::ostream&
32
fiber_bundle::
33
operator<<
(std::ostream& xos,
const
fiber_bundle::ternary_index
& xbi)
34
{
35
xos << xbi.
i
<<
","
<< xbi.
j
<<
","
<< xbi.
k
;
36
return
xos;
37
}
38
fiber_bundle::ternary_index
A triple of indices (i,j, k).
Definition:
ternary_index.h:45
fiber_bundle::ternary_index::j
unary_index j
The second index.
Definition:
ternary_index.h:57
fiber_bundle::ternary_index::i
unary_index i
The first index.
Definition:
ternary_index.h:52
fiber_bundle::ternary_index::k
unary_index k
The third index.
Definition:
ternary_index.h:62
fiber_bundle::operator<<
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const binary_index &xbi)
Insert binary_index& xbi into ostream& os.
Definition:
binary_index.cc:35
fiber_bundles
base_spaces
ternary_index.cc
Generated on Sun Jul 9 2017 14:27:50 for SheafSystem by
1.8.13