Veho 0.6.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Veho --version 0.6.2                
NuGet\Install-Package Veho -Version 0.6.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Veho" Version="0.6.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Veho --version 0.6.2                
#r "nuget: Veho, 0.6.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Veho as a Cake Addin
#addin nuget:?package=Veho&version=0.6.2

// Install Veho as a Cake Tool
#tool nuget:?package=Veho&version=0.6.2                

Banner

Extend enumerable and array functionalities

Version Downloads Dependent Libraries Language Compatibility License

Features

Veho is an extension lib for iterable e.g. array, 2d-array and dictionary.

Content

Package Content
Veho The core library, including all Veho sub projects
Veho.Dictionary Extend IDictionary<TK, TV>
Veho.Entries Extend IReadOnlyList<(TK key, TV value)>
Veho.Enumerable Extend IEnumerable<T>
Veho.Linear Perform basic linear algebra for matrix
Veho.Matrix Extend T[,]
Veho.Mutable.Matrix Extend IReadOnlyList<IReadOnlyList<T>>
Veho.OneBase Extend 1-based (offset) array T[,]
Veho.PanBase Extend general (offset) array T[,]
Veho.Sequence Extend IReadOnlyList<T> to List<T>
Veho.Tuple Extend (T, T), (T, T, T), (T, T, T, T)
Veho.Types Base types in Veho series
Veho.Vector Extend T[]

Install

Veho targets .NET Standard 2.0, fits both .NET and .NET Framework.

Install Veho package and sub packages.

NuGet Package Manager:

Install-Package Veho

.NET CLI:

dotnet add package Veho

All versions can be found on nuget.

Usage

Zip two arrays into an new array

using Veho.Vector

var vecA = new[] {1, 2, 3, 4, 5};
var vecB = new[] {2, 2, 0, 3, 3};
Func<int, int, int> fn = (x, y) => x * y;
var vecC = fn.Zipper(vecA, vecB);
Console.WriteLine(string.Join(", ", vecC));

Compute max by reducing an array

using Veho.Vector;

var vec = Vec.From(1, 4, 6, 3, 2);
var max = vec.Reduce(Math.Max);
Console.WriteLine(max);

Push a value into an array

using Veho.Vector;
using Spare;

var arr = Vec.From("a", "b", "c");
arr.Push("d")
Console.WriteLine(arr.Deco())

Examples


Veho has a test suite in the test project.

Feedback

Veho is licensed under the MIT license.

Bug report and contribution are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Veho:

Package Downloads
Spare.Padder

Format each element of enumerables with identical string width

Palett.Munsell

Color conversion

Spare.Deco

Format enumerables: array, 2d-array, dictionary, etc. into string for console output

Palett.Deco

Deco for palett related objects

NeXL.Core.Ranges

Extension for Excel.Range

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.6.12 270 11/29/2024
0.6.11 87 11/27/2024
0.6.10 217 11/27/2024
0.6.9 91 11/27/2024
0.6.8 76 11/27/2024
0.6.7 76 11/27/2024
0.6.6 320 11/26/2024
0.6.5 506 11/25/2024
0.6.4 265 11/25/2024
0.6.3 384 11/24/2024
0.6.2 87 11/24/2024
0.6.1 531 11/24/2024
0.6.0 172 11/24/2024
0.5.13 330 11/21/2024
0.5.12 425 11/4/2024
0.5.11 684 11/2/2024
0.5.10 10,145 10/10/2021
0.5.9 3,750 10/7/2021
0.5.8 355 10/5/2021
0.5.7 2,658 10/5/2021
0.5.6 913 10/5/2021
0.5.5 353 10/4/2021
0.5.4 1,355 10/3/2021
0.5.3 337 10/3/2021
0.5.2 322 10/3/2021
0.5.1 347 9/29/2021
0.5.0 396 9/28/2021
0.4.18 5,657 9/26/2021
0.4.17 772 9/26/2021
0.4.16 403 9/26/2021
0.4.15 1,232 9/26/2021
0.4.14 358 9/25/2021
0.4.13 6,702 9/3/2021
0.4.12 2,317 9/3/2021
0.4.11 386 9/2/2021
0.4.10 348 9/2/2021
0.4.9 2,784 9/2/2021
0.4.8 1,735 9/2/2021
0.4.7 2,275 9/2/2021
0.4.6 368 9/2/2021
0.4.5 388 9/2/2021
0.4.4 1,667 8/31/2021
0.4.3 1,131 8/31/2021
0.4.2 1,595 8/31/2021
0.4.0 1,196 8/31/2021
0.3.6 2,475 8/30/2021
0.3.5 2,935 8/29/2021
0.3.4 373 8/29/2021
0.3.3 358 8/26/2021
0.3.2 390 8/20/2021
0.3.1 3,030 8/20/2021
0.3.0 2,275 8/17/2021
0.2.18 3,781 8/16/2021
0.2.16 1,521 8/16/2021
0.2.15 379 8/16/2021
0.2.14 794 8/16/2021
0.2.13 356 8/15/2021
0.2.12 393 8/15/2021
0.2.11 362 8/15/2021
0.2.10 3,956 8/12/2021
0.2.9 369 8/12/2021
0.2.8 406 8/12/2021
0.2.7 408 8/12/2021
0.2.6 387 8/12/2021
0.2.4 1,255 8/12/2021
0.2.3 588 8/12/2021
0.2.2 379 8/12/2021
0.2.1 376 8/12/2021
0.2.0 377 8/12/2021
0.1.18 2,245 3/7/2021
0.1.17 1,101 3/7/2021
0.1.16 399 3/7/2021
0.1.15 445 3/7/2021
0.1.14 410 3/7/2021
0.1.12 426 3/6/2021
0.1.11 421 3/6/2021
0.1.10 628 3/5/2021
0.1.9 847 3/1/2021
0.1.8 406 2/28/2021
0.1.7 388 2/27/2021
0.1.6 378 2/27/2021
0.1.5 372 2/27/2021
0.1.4 364 2/18/2021
0.1.3 400 2/7/2021
0.1.1 9,734 1/30/2021
0.1.0 408 1/30/2021
0.0.29 1,976 1/29/2021
0.0.26 380 1/29/2021
0.0.25 1,681 1/29/2021
0.0.24 358 1/29/2021
0.0.23 365 1/29/2021
0.0.22 1,513 1/28/2021
0.0.21 377 1/28/2021
0.0.19 374 1/28/2021
0.0.18 411 1/26/2021
0.0.17 1,712 1/25/2021
0.0.16 384 1/25/2021
0.0.15 638 1/25/2021
0.0.14 421 1/25/2021
0.0.13 389 1/25/2021
0.0.12 369 1/24/2021
0.0.11 430 1/24/2021
0.0.10 424 1/24/2021
0.0.9 427 1/23/2021
0.0.8 566 1/22/2021
0.0.7 430 1/19/2021
0.0.6 426 1/19/2021
0.0.5 426 1/19/2021
0.0.4 444 1/19/2021
0.0.1-alpha 298 11/2/2020