HighMap library (C++)
Loading...
Searching...
No Matches
upscaling.hpp
Go to the documentation of this file.
1/* Copyright (c) 2023 Otto Link. Distributed under the terms of the GNU General
2 Public License. The full license is in the file LICENSE, distributed with
3 this software. */
4
13#pragma once
14#include <functional>
15
16#include "highmap/array.hpp"
17
18namespace hmap
19{
20
47 Array &array,
48 int upscaling_levels,
49 float persistence,
50 std::function<void(Array &x, float current_scaling)> unary_op);
51
52} // namespace hmap
Declaration of the Array class for 2D floating-point arrays with various mathematical operations and ...
Definition algebra.hpp:28
void upscale_amplification(Array &array, int upscaling_levels, float persistence, std::function< void(Array &x, float current_scaling)> unary_op)
Applies an upscaling amplification process to an array, followed by a unary operation.
Definition upscale_amplification.cpp:11