MRFFL: MR Fortran Finance Library 2024-12-28
Computational Tools For Finance
|
Simple sets (using the bits of an integer to indicate element existence). More...
Go to the source code of this file.
Modules | |
module | mrffl_bitset |
Simple sets (using the bits of an integer to indicate element existence). | |
Functions/Subroutines | |
integer(kind=ik) pure function, public | mrffl_bitset::bitset_size (bitset) |
Return the number of elements in bitset. | |
integer(kind=ik) pure function, public | mrffl_bitset::bitset_minus (bitset1, bitset2) |
Return the set diffrence between bitset1 and bitset2. | |
logical pure function, public | mrffl_bitset::bitset_subsetp (bitset1, bitset2) |
logical pure function, public | mrffl_bitset::bitset_not_subsetp (bitset1, bitset2) |
logical pure function, public | mrffl_bitset::bitset_intersectp (bitset1, bitset2) |
logical pure function, public | mrffl_bitset::bitset_not_intersectp (bitset1, bitset2) |
Simple sets (using the bits of an integer to indicate element existence).
Copyright (c) 2025, Mitchell Jay Richling http://www.mitchr.me/ All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.H.E.!!
Definition in file mrffl_bitset.f90.