-subView
: takes startindex
, endIndex
, and view
or subArray
Adds the ability to subdivide the Vector
using function subView
:
"As long as index rang values are valid " i.e. startindex < endIndex
To Create a subView
: from 3
to 5
1 2 3 4 5 6 7 8 9
[3 4 5]
julia> subView(3,5, res)
3
4
5
WARNING:
type of res
is no longer a vector, but a subArray
for more information, please visit:
https://docs.julialang.org/en/v1/base/arrays/#Views-(SubArrays-and-other-view-types
compareTriad
objBounds(_view,arr)
Although first seems to be as _view
, input parameters are of type any
,
So, they could be of any type , that's what that line on the website would say
objBounds(arr)
corrected function output
objBounds(_view,arr)
corrected its return
lineLengthAcceptable(a,b,_length)
To add consistency, keeping it simple, & not repeating thyself
the swapContent
return output parameters
it was primarily mistakenly left as array content, but got changed into
array indicies , with a contentSwapped bool, as a third parameter
oldschoolSwap
with swapContent
, as the intent was to replace content, if proven to be bigger
elementAt
ouputs
calcVerteciesLeft!
, isStoppingCondition
, traverse
, mappedIndex
, collect
, checkCond
, checkCondition
, collect
all depreciated functions are moved into unUsed.jl
=swapContent
inner function logic (so that function enters)
- Unnecessary
half-Comment
operators#=
and=#
across theUtils.jl
(From Uneven Commenting )
Now, Utils.jl
output displays the main issue:
boundError
- to be dealt with
Unused.jl
makeVector
into the built-incollect
UnUsed2
: files fromUtils
has been Transferred for itUtils
: removed non-functional codedemo
: spaces been added
novelApproach
: requires more work on debugging
novelApproach
runs until completion, finishes with typical error typeBoundError
Bound handling Phase:
-
Recheck
elementAt
output -
Issues detected with functions
compareTriad
,compareQuartet
: bound handling those functions -
Depreciate every non-functional
_view
, and replace it the debuggedobjBounds